home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swags_z.zip
/
SCREEN.SWG
/
0009_SCRLTEXT.PAS.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
425b
|
21 lines
Uses
Crt;
Procedure ScrollTextLine (x1, x2 : Integer ; y : Integer ; St : String) ;
begin
While Length(St)<(x2-x1+1) Do
St:=St+' ' ;
While not KeyPressed Do
begin
GotoXY(x1, y) ;
Write(Copy(St, 1, x2-x1+1)) ;
Delay(100) ;
St:=Copy(St, 2, Length(St)-1)+St[1] ;
end ;
end ;
begin
ClrScr;
TextColor(lightgreen);
scrollTextline(10,60,12,'Hello There!');
end.